package Medicine;

public class Equipment extends Goods{

    private boolean isEmpty;//判断是否药品售空
    // 五个参数  :  医疗器械

    public Equipment(int id, String name, String type, int price, int amount) {
        super(id, name, type, price, amount);

    }


    public boolean isEmpty() {
        return isEmpty;
    }

    public void setEmpty(boolean empty) {
        isEmpty = empty;
    }

    @Override
    public String toString() {
        return super.toString()+", isEmpty=" + isEmpty +
                '}';
    }
}
